#ifndef ENTRY_H
#define ENTRY_H

#include <iostream>
#include <string>
#include <time.h>

using namespace std;

enum e_category { 
	Food,
	Transportation, 
	Entertainment, 
	Others
};

enum e_method { 
	Cash,
	CreditCard, 
	DebitCard
};
//@author U095387X
class Entry{
	
//Attritubes
protected:
	string _name;
	double _amount;
	time_t _timeOfInput;

public:
	Entry();
	Entry( string name, double amount);
	Entry( string name, double amount, time_t timeOfInput);
	string serialize();
	string getName();
	double getAmount();
	time_t getTimeOfInput();
};

#endif